import 'package:json_annotation/json_annotation.dart';

part 'location.g.dart';

@JsonSerializable()
class Location {
  Location();

  late String address;
  late String city;
  late String cityCode;
  late String longitude;
  late String latitude;
  
  factory Location.fromJson(Map<String,dynamic> json) => _$LocationFromJson(json);
  Map<String, dynamic> toJson() => _$LocationToJson(this);
}
